package com.csrcb.dto;

/**
 * @Classname WeChatSendMessage
 * @Description 调用https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=上述获取的access_token
 * 对应的请求报文的json格式
 * {
    "touser": "第二步骤关注公众号的用户列表的微信号",
    "msgtype": "text",
    "text": {
        "content": "测试发送的内容文本"
        }
    }
 * @Date 2020/12/16 14:55
 * @Created by gangye
 */
public class WeChatSendMessage {
    private String touser;
    private String msgtype;
    private Text text;

    public String getTouser() {
        return touser;
    }

    public void setTouser(String touser) {
        this.touser = touser;
    }

    public String getMsgtype() {
        return msgtype;
    }

    public void setMsgtype(String msgtype) {
        this.msgtype = msgtype;
    }

    public Text getText() {
        return text;
    }

    public void setText(Text text) {
        this.text = text;
    }

    @Override
    public String toString() {
        return "WeChatSendMessage{" +
                "touser='" + touser + '\'' +
                ", msgtype='" + msgtype + '\'' +
                ", text=" + text +
                '}';
    }
}
